From 41317fc7d563e22222d3573b618602e1cd8698ed Mon Sep 17 00:00:00 2001 From: "kaf24@firebug.cl.cam.ac.uk" Date: Fri, 11 Nov 2005 10:39:20 +0100 Subject: [PATCH] Remove unnecessary ifdef in defn of xprintk. Install xenguest.h. Signed-off-by: Joseph Cihula --- linux-2.6-xen-sparse/drivers/xen/console/console.c | 4 ---- tools/libxc/Makefile | 1 + 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/linux-2.6-xen-sparse/drivers/xen/console/console.c b/linux-2.6-xen-sparse/drivers/xen/console/console.c index e0885bd836..fe18653dde 100644 --- a/linux-2.6-xen-sparse/drivers/xen/console/console.c +++ b/linux-2.6-xen-sparse/drivers/xen/console/console.c @@ -241,11 +241,7 @@ console_initcall(xen_console_init); #endif /*** Useful function for console debugging -- goes straight to Xen. ***/ -#ifdef CONFIG_XEN_PRIVILEGED_GUEST -asmlinkage int xprintk(const char *fmt, ...) -#else asmlinkage int xprintk(const char *fmt, ...) -#endif { va_list args; int printk_len; diff --git a/tools/libxc/Makefile b/tools/libxc/Makefile index c51e899c06..2f6f581942 100644 --- a/tools/libxc/Makefile +++ b/tools/libxc/Makefile @@ -102,6 +102,7 @@ install: build $(INSTALL_DATA) libxenguest.a $(DESTDIR)/usr/$(LIBDIR) ln -sf libxenguest.so.$(MAJOR).$(MINOR) $(DESTDIR)/usr/$(LIBDIR)/libxenguest.so.$(MAJOR) ln -sf libxenguest.so.$(MAJOR) $(DESTDIR)/usr/$(LIBDIR)/libxenguest.so + $(INSTALL_DATA) xenguest.h $(DESTDIR)/usr/include .PHONY: TAGS clean rpm install all -- 2.30.2